fix bug of mongoexport