rename settings args, fix syntax errors