fixed mongodb purge