fix a bug: createbihead(h,m,h2) (m,h,h2)