fixed extrapolation problem for VC9