fix edit department route.