actually solve crash problems!