bug fix

bug fix when client crashes on the middle of a match