The pie cracks usually after taking it out of the oven as a result of sudden change in temperature. To prevent this, you can turn off the oven a couple of minutes sooner, and keep the pie inside the oven till it cools down (as the oven cools down).