try to migrate to mongoid