fixed some small typos while I was reading through the source.