Revert "limited input number"

This reverts commit f0769736aaf41f3a8433714c59ce391908536589.
Revert "Revert "limited input number""

This reverts commit 0938bcd104858dc3b6f429fbee10b2e550d60aa8.
Merge remote-tracking branch 'origin/master'