fixed whitespace problems
added auto correct