remove extra whitespace on blank lines