eliminate newlines for emty config calues, the right way.