fix resource_ids