If they were not baked for long enough, they will more likely sink in the middle. Try to extend the baking times by 3-5 minutes.