disable undohist