Attempted to fix a crash.