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