some bugs in the mongodb engine