resend bug