Fix for pagerank