The bottom part of the casserole tends to be a bit moist since it absorbs the mixture, but if it turns out really soggy, it might be because the bread was too fresh or there was too much liquid. Next time, try using bread that's a bit drier (a day or two old) or cut back on the liquid a tad. Plus, a longer bake time could help ensure the middle sets just right.