fixed errors and typos.