Retirement tax questions

I did that.  entered the amounts. Now it comes back and tells me that I have excess contribution of $475 to my roth IRA. I believe the issue is the following question-->Value of ROTH IRA as of 12/31/2017.  I have to put something here and I am putting in 4775 (even though I have already put the amount of 4775 earlier in the question when it asked me what I contributed to ROTH IRA in CY2017).  if I put in anything higher than 4775, then the amount of excess contribution just goes up crazily.  As I have said, the math TT deluxe is doing is incorrect.  It should only look at what I have paid for CY2017 and not base the calculations on my total value of ROTH IRA at the end of CY2017.