Stupid spelling error causing the variable to not exist