correction to xtract_odd_even_ratio