only set if property exists