I think I've fixed the crash.