Remove irrelevant template