Get your taxes done using TurboTax

If your spouse was truly not able to be claimed as a dependent, then you can amend the return.  You will have to pay back the money that your received for claiming as a dependent.