fixed mongo-wrapper compile error.