Fixed console for stream output.