Gooey centers can happen if the brownies are underbaked. Make sure to test for doneness by inserting a toothpick into the center. It should come out with a few moist crumbs, but not raw batter. If needed, bake the brownies for a few more minutes until they are set but still fudgy.