Revert some code