fix default for index