trying to fix mongoid config.