refactores reference to the StreamingError object