check the header