fix edit repay