fixed pointer dereference in sys_mbox_new