adds clause if incoming message == null then no would not crush on
registration