rename resource to resources