some fixes for kml animate