fixing bug in object lists