remove prys in resource object