Just cover the top loosely with some foil or baking parchment if the cake starts to brown before it's cooked.