inconsistent variable renaming correction