I'd recommend going to the IRS webpage linked below, where you can access a transcript (abbreviated version) of your 2017 return. The transcript will include the correct 2017 AGI according to IRS records. Then you can get on with your filing. 🙂
https://www.irs.gov/individuals/get-transcript
*** 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.***