It is important to measure out the ingredients in this recipe and try not to swap anything out other than what I have listed. If you do, you shouldn't have an issue with it not setting up. However if you run into the issue, try freezing the fudge for half an hour and check.