check headers