fixed typos and other errors