fix gpx issue