Fix bugs in PageRank, it works well on 'mining' mode