fix onChatMsg so notif get called once only