fixed typo on name of variable