use new pool apis

Signed-off-by: swpd <swpdtz@gmail.com>