indices fix