clean up whitespace/debug output