Fixed the input text for chat