fix 2 logic bugs in mafia