generators fix