Fixed missing renamed variable