improved performance of importing gpx file