fixed a few thing i stumbled upon while skimming through the pdf file ;-)