fix typo

Used the naming from the function below.