Fixed typos as suggested by @faitdivers