fix sparkline cloning array