reduce scala mode minors