fix crash at playDone.