improve logic of settins validation and labels