better solution for Chatbox binding