some style fixes
ot client in scala