fixed mongoid