fix #1586

small fix in settings template as well