removed segfault