fixing a typo with variable name