changing CurveAllow to Curve