fixed broken kml support