fix repay dynamic time