delete unused templates