restore config for mongoid 2