Revert "fix input text matching"