minor fix for EventEmitter

Awesome module; randomly hit upon this bug.