fixed issue which restricted input to one digit