After e-filing for 3 times and getting rejected for the incorrect AGI, I started reading some of the responses and one recommended to change the AGI to zero and it should go through. I did change the AGI to zero and the Federal and State returns have been accepted. Go figure!