remove template from html