Home sale got married

My wife and I got married in 2019.  She sold her home in 2019 after residing there continuously since 2013.  After answering all of the questions, Turbo Tax is telling me she has a $40,000 capital gain.  Purchase price was $157,000 and sold for $197,000.

What am I doing wrong or is there an issue with the software?

Thanks.