add_resource_value fixed, no default value