Resovled unexpected Crash issue