remove template for deletion