fix game leave bug