fix scala settings