fixing a PMD issue