fix rescue block