Chances are that your recipe is perfectly fine. It might have been the potato itself that’s preventing good results! Maybe you used a different potato variety? Or your potatoes were stored differently. It’s easy to underestimate the importance of choosing a suitable potato. But, as is the case for so many foods made from fresh produce (e.g. apple pie!), your starting ingredients are crucial.