three things to avoid your loaf from sinking in the middle is 1) measuring the baking powder accurately, 2) make sure your baking powder is not expired and 3) fully combine the batter but do not over mix it!