corrected variable error

oops pushed bad code in 9138c