fix pagerank example
fix cache bug