fixing up PMD error