Pool gen bugfix