fix repate