fix onLocationError hangup