Fixed some typos and comments