Bug fixed in stat manager when there's no output stream