fixing discussion build

scala weirdness here