Fixed pom copy bugs