Fixed removeFromList bug