fix sg_pool compile error