fix Pool bug