corrected bunch of typos