adjust index, styles