minor indexing fix