fixed a typo in index layout