avoid dup error on empty resource type reference