fix global namespace pollution from undeclared local variable
Merge pull request #425 from sbyrnes321/global_pollution_comp

fix global namespace pollution from undeclared local variable