mongoid config fix