Get GPS data without EKF_AID_MASK turned off

When i turned on EKF_AID_MASK !=1 ( donot use GPS ) . Mavros doesnot publish gps data even if sensor is attached . Is there any way to override this and get gps data ??