fix key not found issue in csv parser