reverting change to generator_spec, no need to debug