revert providers patch
memory semantics
revert header fix