Fixed statistics issues
Merge remote-tracking branch 'origin/Alexey'