Fix CaseNo Error for Code Cases