remove mempool_detach_base