try to fix crash at exit