This means your oven was too hot and the top of the cake cooked before the middle had a chance to cook. Some ovens run hotter than others or have hot spots. Next time reduce the temperature of your oven.