remove unreferenced duplicate template