fixed LegacyGraphConverter which had a failed test