fix edit layout