Fixed the crash.
Seems to finally be working.