Inspection code fix