fix edit tab missing error