relinking the header