[sweeps] removed unused variables