Fixing crash.