index debugging