fix generated raws