Fixed the crash.