small fix on for mongodb cmds