fix edit navigate and routes