fix refs and comment init_mq (crash during registration)