Fixed arguments in generator_helper