fix: exit from game segfault