only add space when value is present