fixing typos and improving doc