Fix rawflag()