fixed pom bugs.