fix script to correct old pool versions