restore the corrupted code to orginal code