map_graph fix