fix fatal crash in brigand