Revert some modifications