State tax filing

Then, when I complete my MA state return, (after finishing RI state return), MA wages becomes RI wage + MA wage on the 2 W2s, and hence tax goes up the roof. For that I followed the advice on one the questions where the wages becomes double because of 2 wages, though someone earned just one income.