Let the cheesecake sit overnight in the fridge to let it firm up completely and prevent it from cracking.