Fixes maintain_pool signature