cleanup + create default template if no exists yet