fix the bug for resending