revert some modifications.