fixing a typo in variable name