remove unused inspect_range