fix raw edit