fixed a few typos and removed some trailing a whitespaces