fixed nub and test of scala.