Retirement tax questions

It seems that Turbotax is double counting some of the income for form 8959 in situations where one works in one state and lives in another (NJ/NY).