Fixed betting to accept only numbers.