attempt to fix crash