minor fixes to MessageEvent