fixed gps status detection NPE