deal with regist message