fixed unintialize crash