eliminate some PMD warnings