remove template content on main