fixed the gps issue on submit