fix text response errors