fixed some stupid errors in the tex doc