Fixed issue with a bad variable name