fixed the map functionality for the flight path