fixed typos and some issues.