Changing deprecated settign