fixed segfault on quitting