fixed pmd violation in character