fixed a small error with a variable name