fixed NPE in setting column labels for numerical or boolean fields, and unit tested