adjust index flash