Fixing a few bugs in the line recipe.