There are two reasons why this usually happens. The temperature of your oven was not hot enough or the temperature of your dough was not cool enough. To prevent flat pastry dough, keep your puff pastry dough COLD and wait until your oven is fully pre-heated.