If they're not baked in the middle when you take them out, put a square of over the middle, then bake for a bit longer at a lower heat - make sure the edges don't burn.
The recipe is from 'New York Cult Recipes' by Marc Grossman - this is my dad's version, though, which is slightly different.