fixed wrong variable name