only add state if not null