Deductions & credits

Thank you for the response.  To be more specific I requested my HSA to withdraw the excessive contribution amount of $5,000(based on my calcualation). My HSA sent a check to me for $5,000  plus  the earnings made on the $5,000).  However, Turbo Tax says that the over-contribution amount should be $4,000 not $5,000.  How do we fix this problem?  Can I just return $1,000 plus proportional earning made back into my HSA and do this before I file my taxes?