avoid special case of a node input being NULL