try to make the generator_spec pass in travis