Bug fixes
Printing stats