solve the bug of GPS position