check headers strictly