fix and index