Fixed formatting issues in the chat package