fix unread count rendering