Fix some typos

Thanks to @ahmadia and @ethanwhite for the review.