clean up archetype template