Fixed bug when emitter of a message is null