Minor fix in the Inspector code