fix rake stats
Merge pull request #768 from ruanwz/master

fix rake stats