fixes indexing in ex5