remove label number reference in generated code