fix crash issue in playgame mode