fixed scala-mode2 and ensime hook issue