revert some input change from Z