Fixed missing variable