Fixes kml-document view on the directory not working anymore