fixing the generator again..dammit