fix pmd, checkstyle, reformat