fix deprecated notice "Resource should now be capitalized"