patch message raw permission correction