unread count bug fix