try to fix crash at exit #2