Optimize resource name