If this happens, it's most likely because there was too much filling inside or the edges of the pastries were not completely sealed. To prevent this from happening again, use a little less filling. For a tighter seal, brush the edges of the bottom piece of dough with egg wash before adding the top piece. Crimp the edges well with a fork.