fix crash in online multiplayer games