change codegen for set with() to set()