Deal with empty fields in csv