fix bug code into list