Fixing a few bugs in ferment and distill