Fixed bug in list