restore patched data