workaround to check match for lowercase headers