remove mongoid dependency