rest: setting refactored