set header first