fixed GPS offline problem