fixed to not check header strictry to handle header variations