I am making scalloped potatoes and the recipe calls for using milk and heating it to a near boil. Then I put in cheddar cheese and pore it on eat layer of the potatoes. I put in the oven at 350 degree oven and cook until the potatoes are cooked through. I took it out after 55 minutes and noticed water along the edges, the milk fats in the cheese or milk separated, leaving me with curds and whey (water). I'm not sure what I did wrong here, any tips?