fix bug where names where set wrong for with setValueCNames