correct unread item logic. nb. reference usage might cause memory issues.