[multimessage, ai] fix in multimessage for 4.0, ai updated for 4.0