fixed get pool function to be miner version independent.