fix the generator command