clean up some whitespace and a typo