documentation and typos fixes