This should throw stream error better to catch it