fix bug, remove the wrong event emitter