modify msghandle