cleanup whitespace/debug output