fix npe on mOnTopMessage