typo
fixes 2 PMD warnings