fixed bvalue header detection