fixed startup crash when gps disabled