amend scala setting