start problem 38
fix code issue with new scala lib