added ability to resend error messages