Fix location issue to get last GPS location.