mongodb err was actually not erroring