revert didEnterText change