Lookup headers correctly