bugfix in generator's logging