correcting retry offset