Fix array not initialized