fix to get to compile on scala 2.10