You can avoid having a crack in the top of your pie by not overcooking the pecan pie. If you overcook it, it will result in a dry pie that will generally crack.