handle gps exceptions