Fixed gps bug