Fix an issue where the index was wrong, document the mode