Fixed typos and whitespaces in doc