compilation fix, scala 2.11