minor improvements for indices in blocks