fix gps service crashes