Scala : FIX stupid compilation errors