renamed a variable to fix a warning