rewriting parser for chat-messages