Head/manifold gasket problem.

Bolt the heads on. You can do 2 things...
A. Take a hammer and sharp chisel and chop them off... or B. you can bend them down to lay flat. Either way you may have to trim the width of the end seals and use rtv at the corners and across, top and bottom.