small template bugfix