fix descendant noclobber check function