Cannot disable magnetometer


I am sending motion capture data to /mavros/vision_pose/pose and want to disable the magnetometer since I am testing indoors. I have set the checked the ekf position fusion and the yaw fusion under the aid mask parameter. then disabled the cal_mag0 and sys_has_mag. but when I do so, my mavros/local_position/pose topic cannot be seen at all.