Fixing renamed variable