fixed bug in list where any array index will choose the last in the list