Fixed annoying issues with misspelling variable names. Determined goals are not being detected.