fix for scala 2.9