fix raw resources