workaround for IE corrupted response headers