Fixed fatal crash.