My 1099-R for my Roth IRA lists a distribution code of T, and apparently, this makes TurboTax assume the entire withdrawal is taxable.

I'm 68 years old, and all contributions are more than 5 years ago. What do I need to do to avoid this? Do I really need records of all contributions?