changed instance variable to local variable
fixed variable scoping
Merge pull request #200 from rwarbelow/one_more_fix

changed instance variable to local variable