Collapsing in the center is often caused by underbaking. Ensure the lava cake is fully set around the edges and has a slightly jiggly center when you take it out of the oven.