cleanup scala
cleanup and fix channel start error