fixed spelling errors, indentation