refactoring+gps disable