add code in msgqi_src