fixed subset references in the ctSummary sub-functions that were causing an error