raw header detection