attempt at fixing the export and createKML