Trying to fix checkPeanutAvailable Error