When the input is nil, don't set the zero value