added max value limit for stream error reporting
added limit to stream messages