fixes for kml