Revert some functions