drop some debugging traces and use only one flag for new codegen