fixing generators