fix ch global leak

Maybe you should use jshint or smtg to detect globals easily.