fixes to the thesis document