fixing mongoid config