fixup for msg_queue.cc returning 0