fix edit category