adjust header sequence