fix crash in coop