patches to 3.0.65 and 3.0.66