fix edit panel