Multiple States withholdings incorrect

I live and work in differing states, so I have two state with-holdings in box 17. My w-2 entries are correct, and yet my second state form shows that BOTH states withholdings went to one state, grossly overestimating my tax refund. I can't figure out where or how to correct this since my w-2 is accurate. Any help?