Stream read fix.