Retirement tax questions

Try deleting the 1099R.  Does that clear out line 5?  Then enter it again manually.  That usually clears something out.