Avoid overbaking and do not open the oven door during baking. Let them cool gradually to prevent sinking.