clean unused templates