The issue with raw-inside desserts is frustrating because you think you're following the recipe to the letter and you still mess up. What happened to me is I'd make cookies that looked done on the outside but were soft inside, and it turns out the problem wasn't just the temperature - I was taking the tray out too early. The recipe said "until golden," but I'd interpret any brownish color as a sign they were ready. Now I use a toothpick: if nothing sticky comes out when you poke through the center, it's done. With brownies specifically, the texture is deceptive because they look gooey but they're not raw; the trick is that when you stick a knife halfway into the pan, it should come out with moist crumbs, not oozing. For dry desserts, honestly the problem is almost always either too much flour (measuring with a cup instead of a scale) or baking at too high a temperature for too long.