modify index layout