Fixed some weird scala thing