revert input change