fix issue with delete pool