reverting index layout