fixed several typos in the comments