Fix pack event emitter. For #1673