deleting unused templates