adjust layout
adjust index