fix bug for list