RESP TO RRSP should I be paying tax on that?

I transferred unused amount from Heritage Enducation Fund RESP to a RRSP fund & I received at T4A in mail with box 40 $ amount , when I enter that in program I am taxed on it, is there another more or place to not pay tax on it?