Fixing a crash.