pmd error fixing