some segfaults overcome, new ones challenge