make Graph.mapping correct