fixed typos.
added parameter setting.