fixed gps check