Fixed GPS to work with proper delay loop