fixes for mongoid
ok - mongoid should actually work now