corruption range issue fix