further fixing of segfault.