fix event emitter dependency

closes #8