Fixed typos and trailing whitespaces