remove some whitespace from std output