fix settings.tpl