Fix bug in list.