fixed bugs, working gps