fix edit route