Some fixes to AC generator.