gps adjust and gallery fix