bug fix for null values coming from csv