fix header overwriting problem [ci skip]