fix gps errors