fixes #3630 - Associate resources by name