make generator emit sane code for the first time