fix ~3.0.87 patch