fixed unread message count not getting reset