SEP IRA maximum contribution for 2024

As self employed with around 240k gross income I contributed 50k to SEP IRA. Turbotax says that maximum allowed is 17,500. Why is that? According to IRS, maximum is the lesser of 25% or 67k.