fix a bug in mapper and a bug in the pom