fix for get_raw_resource_pool2 class check