fix bad list operation on pending items