version++
clean up
potential segfault