clear up the kind of some message and msg