finish index layout