bug fix on pom.xml & some PB related code