document/whitespace cleanup