Minor bugfix
Adjust input length