try to fix crash under linux