check header.