fix connect
add unread count