fixed a header bug