Fix typo

Fixed typo and change variable name to something more self-explanatory