If the filling in your twice-baked potatoes is gummy, this is a sign that the potato filling was over mashed. To prevent this, mash the potatoes until just mashed. If you keep mashing, the potatoes will begin to release too much starch and yield a gummy texture.