fixes for mc_msgs struct problem