Fixed missing initialize memory