fixed wrong name of variable