fixed a typo in variable name