fixed typos and comments