fix a bug of list reset