Don't overfill your pie; it should come up to a centimeter or so below the top or the filling is likely to leak as it bubbles up during cooking. Let any fillings cool completely before adding them ...