State tax filing

How do i remove the NY portion of the wages from the NJ state income..This is causing the NJ income to include NY and increase