making Scala: allcommon compile OK