Fix typos and improve some doc