My job had me listed as living in North Carolina when I worked and lived in Pennsylvania

hi all as the title suggests I got a job while I was a student in North Carolina and had to move up to Pennsylvania for said job. Unfortunately I did not notice that I was getting North Carolina taxes, and immediately emailed the payroll administrator. The payroll administrator updated my address to be in PA on November 22 of last year. I paid around $1000 in taxes to North Carolina and when I went to file this year, it says I owe 1000 more and that does not feel right. Can anybody help me out?