Bug correction in settings tpl