fix gps conversion problem