add gps and change errorbox