fix unread counter