some fixes for statistics
Merge pull request #302 from LipuFei/improve-statistics

Some fixes for new statistics