Attempt to fix crash.