fix bug about gps