Bugfix for a template