Hopefully fixed a random crash.