fix gps output bug