trim header values when setting by string