replace resource by ressource