fixes formatting, fixes spelling errors