get template name from nut attribute fix #23