Fixed some typos and errors