fixed compute pagerank bug