After pouring the batter into the baking pan, make sure to drop it on the counter a few times. This will break the large air bubbles. If any small bubbles remain on top, you can gently break those up using a wooden skewer. The other possibility is under-whisked meringue. If the meringue is not whisked to soft peaks, it won't be stable enough to support the cake.