correct value of unread messages