fix generators