fix obvious fatal crash