corrected a lot of typos