small indices fix.