debugging fill_hole and logging