remove unwanted templates