Non qualified W2 income used twice on MA state tax - once as wages & again as other income

Fed tax shows zero W2 income, MA state shows non qualified pension W2  income & again as other income from Schedule X