fix server header bug