Remove scala mode