pool: fix search