Be careful not to overcook the vegetables on the stove or they’ll get mushy in the oven. Cook the potato just until it’s slightly softened. Make sure the filling cools before you put the crust on top so it stays flaky. If the filling is too hot, the crust will start steaming and become gummy.