removed unused chatbox code