fixes to KML