remove dependencies of mongo and redid