Fix elements resource's 'resource_name'