fixed registeredMsgHandlers creation issue (prematurely merged from dev)