[fix] fixing Emitter undefined