fix scala bug