use resource_component table instead resource_value