Rollover of after tax money from 401k to ira and Roth ira

I did a rollover of after-tax money from a 401K. The After tax contributions got rolled over to a Roth IRA. The earnings got rolled over to a traditional IRA. I received one 1099R from Fidelity for both rollovers. I was told that neither of these Rollovers was a taxable event. Box 2a on the form (taxable amount) is 0. When I input the form into turbo tax, I’m taxed on this transaction. What am I doing wrong?