fixed typos and errors