response stream error fix