change wfMsg to wfMessage