try to fix crash on multiple instances
seems to work now