As you add a little baking powder to the pastry, bear in mind that you'll need to leave a small space at the edge of the mould for the pastry to expand slightly. Also, don’t put the custard on the pastry whilst it’s still hot - in fact, it should be at room temperature! Another tip: if you prepare the filling in advance, cover it with cling film so it doesn’t create an annoying ‘skin’.