Fixed display bug with the templates.