Use chilled butter and ice-cold water when making the pastry dough to ensure a flaky crust.Pre-cook the vegetables before adding them to the filling to ensure that they are tender and fully cooked.To prevent the pastry from sticking to the muffin tin, grease the tin well or use muffin liners.Use a sharp knife or scissors to cut the pastry into rounds to prevent the dough from tearing.