Fixed typos and errors