fixed doof

Forgot to check the tiny area of code when I renamed a variable... hey it was late...