stream error fixed