fix bug with tie games