modified mongoid version to fix travis fail build