Chances are your temperature is off in your oven or your pan isn't on the right rack. Confirm your oven is heating accurately by using a digital oven thermometer then position the rack in the center. Additionally, if your brookies are getting too dark on top, tent the pan with foil and continue baking until they are set.