About my ammened return

I had to file a ammend return cause I claimed my daughters income and I didn't know that I wasn't allowed to do that. When I took her income off it is making me pay the irs and I don't understand why