pom refactor