Fix 'Constant variable name' bug