deleting template