fix bug in baseball.py