fix core when xmldoc::getmsg20reply is called