fixing a typo of a variable