Input max length fix for issue #38
Merge pull request #39 from niprog/master

Input max length fix for issue #38