fix version string and segfault