clean up of unused templates