revise index layout