analysis output / trailing whitespace cleanup