Fixed a typo in variable names