fix indexing for 7.1