Retirement tax questions

When I entered the the amount even though it has a Distribution Code G  it was included in my total income ...Why?