having issues with exit server and many segfaults :'(