Revert replacement of input