rename resource  to resources