fix the unread label counting