handle resent packet