fixed print statements in load_graph