title: Java CsvReader not getting data of first column
body: <p>I am using JavaCSV to read and write CSV files, one issue i have found is that it ignores data in the first column in part of my program</p>
  
  <p>String nNumber = planes.get("N-NUMBER"); returns nothing, even though there is something in the database</p>
  
  <p>CsvReader <a href="http://javacsv.sourceforge.net/com/csvreader/CsvReader.html" rel="nofollow noreferrer">http://javacsv.sourceforge.net/com/csvreader/CsvReader.html</a></p>
  
  <pre><code>import java.io.FileNotFoundException;
  import java.io.IOException;
  import java.lang.String;
  import java.io.File;
  import java.io.FileWriter;
  import java.lang.String;
  import com.csvreader.CsvReader;
  
  private static void compare(String firstName, String lastName, String st1, String st2, String city, String state, String zip,
          String country, String region, String fileName, Integer pilotCount) 
  {
      // TODO Auto-generated method stub
      try {
  
          CsvReader planes = new CsvReader("MASTER.csv");
          planes.readHeaders();
  
          while (planes.readRecord())
          {
              String nNumber = planes.get("N-NUMBER");
              String SN = planes.get("SERIAL NUMBER");
              String model = planes.get("MFR MDL CODE");
              String engine = planes.get("ENG MFR MDL");
              String year = planes.get("YEAR MFR");
              String typeReg = planes.get("TYPE REGISTRANT");
              String name = planes.get("NAME");
              String st_1 = planes.get("STREET");
              String st_2 = planes.get("STREET2");
              String city_plane = planes.get("CITY");
              String pilot_state = planes.get("STATE");
              String zip_code = planes.get("ZIP CODE");
              String country_name = planes.get("COUNTRY");
              String region_name = planes.get("REGION");
              //boolean response = compare(st1, st2, city, state, zip, country, region, st_1, st_2, city_plane, pilot_state, zip_code, country_name, region_name);
              boolean response = compareSimple(firstName, lastName, name);
  
              if (response == true)
              {
                  System.out.println("N Number");
                  System.out.println(nNumber);
                  System.out.println("Serial");
                  System.out.println(SN);
                  System.out.println("Model");
                  System.out.println(model);
                  System.out.println("Engine");
                  System.out.println(engine);
                  System.out.println("Year");
                  System.out.println(year);
                  System.out.println("Type Registration");
                  System.out.println(typeReg);
                  System.out.println("Name");
                  System.out.println(name);
                  pilotCount++;
                  write(nNumber, SN, model, engine, year, typeReg, name, st_1, st_2, city_plane, pilot_state, zip_code, country_name, region_name, fileName);
                  System.out.println(pilotCount);
              }
              else if (response == false)
              {
                  // do nothing
              }
          }
          planes.close();
      }
      catch (FileNotFoundException e) 
      {
          e.printStackTrace();
      } catch (IOException e) 
      {
          e.printStackTrace();
      }
  }
  </code></pre>