Fix mis-named variable reference left from refactoring