fix issue with unread count