remove template from component