fix bug in numeric type check for loading data values