fix sparklines being missing or chopped off