fix scala style