First, don't overcook the potatoes. And an extra step to help is to add the potatoes back to the pan after draining. Cook over low heat, shaking the pan occasionally for a minute or two to help any excess moisture evaporate.