adaptions for doc-kml