always set attribute, even when nil