fix whitespace in output