fix bugs of map and GPS locations