There are limitations on deducting your contributions to a 529 Plan in Pennsylvania. A contributor is only able to claim a deduction up to the amount allowed under the annual gift limitation permitted by the Internal Revenue Code
Since we can't see your tax return in the forum, I would suggest you review the worksheet in your state return to see how the amount of your deduction was calculated. You will have to pay for TurboTax first to view all forms and worksheets.