removing template