Changed wrong name of variable