possible fix of NPE if gps disabled