If you have any gap whatsoever (on the ends) without the cork, lay a bead of silicone on the ends.
Some guys use TA-31, some guys use Right Stuff, I use Dow Corning 732. Pick your poison....
Before you seal it up, take a look around, make sure the valve cover rails match and if you have a wait of checking port alignment, I'd check that too.
How much gap do you have on the sides now?