fix edit graph