fixed typos and indents