revert mains