fixes indexing in ex11