fixed compile errors and subsubsection to subsection for ambiguity section