check for arraylist nullnes
addopting  changes for NAICS code