401k rollover to TSP

I changed jobs and joined the Federal workforce, where I am contributing to the Thrift Savings Plan.  I did a direct rollover of the money from my old employer's 401k to the TSP and thought doing do would avoid fees / taxes but it appears that isn't the case, even though Block 7 code G is identified on my 1099-R.  Am I entering the information correctly?