use correct index to find missing pages