fixed a few minor typos

found a few typos in the comments while browsing the code