fixing delete pool