added null checker on setpreferrednamecolumnvalues getpreferredname