fix a list commad bug