fix crash in mafia