fixed typos and whitespace