Fix gpx parsing