fixed replacement in chatbox