Trying to fix crash.