Fixed memory crasher.