oops index operations had an assignment error