fix for pending items