revert functionality to intended