It could be the ham contained a lot of water or you used too much liquid in the recipe. Using a starchy potato such as a russet helps to thicken juices. Avoid using soft or waxy types of potatoes for the best result.