before removing list