fixing the mongo database