fix headercheck