set a default for index