add gen and fix pom