Using fresh cream or milk always helps. We also used russet potatoes that are high in starch so they help to thicken the sauce of the scalloped potatoes rather than a lower starch potato which doesn't aid in thickening the dairy, which can cause curdling.