Fix delay to wait for gps