more fixes for port and relying on lang-scala 0.2.0