added null conditional to CSV parser