biogenerator bugfixes