fix pom and cycle in pom