Fixed df error in pool.compare()