modify autogen