fix desync on win/lose