remove the chat middleware logic