set proper input/output var pagerank