fixed mongoid config