The $39.99 fee you're seeing is for the Refund Processing Service (having TurboTax fees deducted from your federal refund). This fee is in addition to the Deluxe tax preparation program fee. You can avoid the fee for Refund Processing Service by paying your TurboTax fees by credit card.
You can review your TurboTax fees by using the info below:
https://ttlc.intuit.com/replies/4202093
As long as you haven't yet filed, you may be able to reduce those fees using the information below.
https://ttlc.intuit.com/replies/3301994
*** I am NOT a tax expert. I am a seasoned TurboTax user, and volunteer to provide assistance to TT users. Nothing I post is to be considered TAX ADVICE; I bear no legal liability for responses.***