Fix pool

Fixes pool detection