Fix missing value in last column of dataset cause duplicate error