fix removed template