better edit layout