remove autogen code