msg->cd errors fixed